package com.file.manage.infrastructure.exception;

import lombok.Getter;

/**
 * @ClassName: ServiceException
 * @author: hsy,叶荻风
 * @date: 2022/10/11 18:30
 * @description: 业务异常类
 */
@Getter
public class FeignException extends ServiceException {
    private long code;
    public FeignException(String msg) {
        super(msg);
    }

    public FeignException(long code, String msg){
        super(msg);
        this.code = code;

    }
}
